<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
 
 <%@ page import="java.util.*"%>
<%@ page import="fr.iut2.tc4.aideprojet2.torque.generated.Etudiant"%>
<%@ page import="fr.iut2.tc4.aideprojet2.torque.generated.EtudiantPeer"%>
<%@ page import="org.apache.torque.util.Criteria"%> 

<jsp:useBean id="listeEtu" type="java.util.ArrayList<fr.iut2.tc4.aideprojet2.torque.generated.Etudiant>" scope="request"/>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>test</title>
</head>
<body>

<%for (Etudiant etu : listeEtu) {

out.write("<p>Nom: " + etu.getNom() + "</p>");
out.write("<p>Prenom: " + etu.getPrenom()+ "</p>");
out.write("<p>Note: " + etu.getNote() + "</p>");
out.write("<p>Groupe: " + etu.getGroupe() + ",  nbAbse: " + etu.getNbabsence() + "</p><br>");
} %>

</body>
</html>